package com.design.mode.template;

/**
 * Created by lucky on 2018/9/14.
 */
public class CharPrint extends AbstractPrint{

    private String Char;

    public CharPrint(String Char){
        this.Char = Char;
    }

    public void start() {
        System.out.print("<<");
    }

    public void close() {
        System.out.println(">>");
    }

    public void print() {
        System.out.print(Char);
    }
}
